package com.hundsun.fcp.openapi;

import java.util.HashMap;

public class HeaderUtil {
	/**
	 * 获取头部信息. {@link #init()}方法调用后,调用该方法才有效.
	 * 
	 * @return
	 */
	public static HashMap<String, String> getDefaultHeader() {
		HashMap<String, String> defaultHeader = new HashMap<String, String>();
		defaultHeader.put("sys-client", "android");
		return defaultHeader;
	}
	
	public static HashMap<String, String> getDefaultNativeHeader() {
		HashMap<String, String> nativeHeader = getDefaultHeader();
		nativeHeader.put("nativeFlag", "1");
		nativeHeader.put("errorFlag", "1");
		return nativeHeader;
	}
}
